project(${ED_COMPANION_BINARY})

#--------------------------------------
# Main target
#--------------------------------------

include_directories(
  include
  ${ED_CORE_INCLUDE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
)

set(ED_COMPANION_HEADERS
)

add_executable(${ED_COMPANION_BINARY}
  src/main.cpp
  ${ED_COMPANION_HEADERS}
)

target_link_libraries(${ED_COMPANION_BINARY}
  ${ED_CORE_LIBRARY}
  Qt5::Core
  Qt5::Widgets
)

#--------------------------------------
# Installation directives
#--------------------------------------

# Target
install(TARGETS
  ${ED_COMPANION_BINARY}
RUNTIME DESTINATION ${BINARY_INSTALL_DIR}
LIBRARY DESTINATION ${LIBRARY_INSTALL_DIR}
ARCHIVE DESTINATION ${LIBRARY_INSTALL_DIR}
)
